package com.wjpeng.wms.mapper;

import com.wjpeng.wms.domain.Department;
import com.wjpeng.wms.domain.Product;
import com.wjpeng.wms.query.ProductQueryObject;
import com.wjpeng.wms.query.QueryObject;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);

    Integer queryCount(ProductQueryObject qo);

    List<Product> queryLimit(ProductQueryObject qo);
}